package com.tarena.lbs.activity.mapper;

import com.tarena.lbs.activity.pojo.entity.ActivityE;
import com.tarena.lbs.activity.pojo.vo.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ActivityMapper {
    void insert(ActivityE activityE);

    void update(ActivityE activityE);

    ActivityE selectById(Long id);

    void delete(Long id);

    List<ActivityVO> selectActivity(ActivityQuery activityQuery);
}
